Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODDragAndDrop


GetDragAttributes

The GetDragAttributes method returns additional information about the current drag-and-drop operation.

ODULong GetDragAttributes ();
return value
A 32-bit value consisting of flags that specify attributes of the current drag operation.
DISCUSSION
If no drag operation is in progress, the returned value is zero. Otherwise, the bit flags are set in the returned value to indicate attributes of the operation. For example, the kODDragIsInSourcePart flag is set if the drag has not left the source part; the kODDropIsMove flag is set if the drag items are being moved (not copied).

If a drag enters your part, or a drop occurs in your part, you can call this method to determine how your part should respond.

EXCEPTIONS
kODErrNoDragManager
No platform-specific drag system service is available.
SEE ALSO
"Drag Attributes" on page 921.
"Drag Attributes and the Drop Method" on page 364 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help